-
Home
-
Tiered Pricing Table for WooCommerce
-
5.1.8 (latest)
-
Code
-
Classes
- RoleBasedPriceManager
Total Complexity |
35 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
189 |
Lines of code |
114 |
Logical lines of code |
66 |
Comment lines |
6 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getPriceRules() |
S |
57 |
5 |
15 |
roleHasRules() |
S |
59 |
3 |
14 |
deleteAllRoleDataForProduct() |
S |
66 |
3 |
8 |
getPricingType() |
S |
65 |
3 |
8 |
getProductQtyMin() |
S |
65 |
3 |
8 |
getProductRegularRolePrice() |
S |
64 |
3 |
9 |
getProductSaleRolePrice() |
S |
65 |
3 |
8 |
getProductDiscount() |
S |
64 |
3 |
9 |
getProductDiscountType() |
S |
65 |
3 |
8 |
getProductPricingType() |
S |
64 |
3 |
9 |
deleteAllDataForRole() |
S |
61 |
1 |
12 |
getFixedPriceRules() |
S |
78 |
1 |
3 |
getPercentagePriceRules() |
S |
78 |
1 |
3 |